package com.linpq.road.domain;

import java.util.Date;
import com.linpq.common.annotation.Excel;
import com.linpq.common.core.domain.DataEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 空间信息对象 rd_spatial_info
 *
 * @author linpq
 * @date 2021-07-29
 */
public class RdSpatialInfo extends DataEntity<RdSpatialInfo> {
private static final long serialVersionUID=1L;

    /** 归属路桩 */
    @Excel(name = "归属路桩")
    private String fkId;
    /** 删除标志 */
    private String delFlag;
    /** 经度 */
    @Excel(name = "经度")
    private Long longitude;
    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;
    /** 数据日期 */
    @Excel(name = "数据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dataTime;
    /** 纬度 */
    @Excel(name = "纬度")
    private Long latitude;
    /** 高程 */
    @Excel(name = "高程")
    private Long altitude;
    /** 起点桩号 */
    @Excel(name = "起点桩号")
    private String startingStation;
    /** 路线方向 */
    @Excel(name = "路线方向")
    private String routeDirection;
    /** 终点桩号 */
    @Excel(name = "终点桩号")
    private String terminalStation;
    public void setFkId(String fkId){
        this.fkId = fkId;
    }

    public String getFkId(){
        return fkId;
    }
    public void setDelFlag(String delFlag){
        this.delFlag = delFlag;
    }

    public String getDelFlag(){
        return delFlag;
    }
    public void setLongitude(Long longitude){
        this.longitude = longitude;
    }

    public Long getLongitude(){
        return longitude;
    }
    public void setSerialNumber(String serialNumber){
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber(){
        return serialNumber;
    }
    public void setDataTime(Date dataTime){
        this.dataTime = dataTime;
    }

    public Date getDataTime(){
        return dataTime;
    }
    public void setLatitude(Long latitude){
        this.latitude = latitude;
    }

    public Long getLatitude(){
        return latitude;
    }
    public void setAltitude(Long altitude){
        this.altitude = altitude;
    }

    public Long getAltitude(){
        return altitude;
    }
    public void setStartingStation(String startingStation){
        this.startingStation = startingStation;
    }

    public String getStartingStation(){
        return startingStation;
    }
    public void setRouteDirection(String routeDirection){
        this.routeDirection = routeDirection;
    }

    public String getRouteDirection(){
        return routeDirection;
    }
    public void setTerminalStation(String terminalStation){
        this.terminalStation = terminalStation;
    }

    public String getTerminalStation(){
        return terminalStation;
    }

@Override
public String toString(){
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                                .append("id",getId())
                                .append("fkId",getFkId())
                                .append("createBy",getCreateBy())
                                .append("createTime",getCreateTime())
                                .append("updateBy",getUpdateBy())
                                .append("updateTime",getUpdateTime())
                                .append("remark",getRemark())
                                .append("delFlag",getDelFlag())
                                .append("longitude",getLongitude())
                                .append("serialNumber",getSerialNumber())
                                .append("dataTime",getDataTime())
                                .append("latitude",getLatitude())
                                .append("altitude",getAltitude())
                                .append("startingStation",getStartingStation())
                                .append("routeDirection",getRouteDirection())
                                .append("terminalStation",getTerminalStation())
                .toString();
        }
}
